@charset "UTF-8";
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
  font-size: inherit;
}
img,
object,
embed {
  max-width: 100%;
  vertical-align: top;
}
a,
a:link,
a:visited,
a:hover,
a:active {
  font-size: 100%;
  outline: 0;
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  list-style: none;
}
input,
select {
  vertical-align: middle;
}
input[type="radio"] {
  vertical-align: text-bottom;
}
input[type="checkbox"] {
  vertical-align: bottom;
}
small {
  font-size: 85%;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
}
sup {
  top: -0.5em;
}
sub {
  bottom: -0.25em;
}
label,
input[type=button],
input[type=submit],
input[type=file],
button {
  cursor: pointer;
}
input,
select,
textarea,
button {
  -webkit-appearance: none;
  padding: 0;
  border: 0;
  outline: 0;
  resize: none;
  font-size: inherit;
  margin: 0;
}
input:focus,
select:focus,
textarea:focus,
button:focus {
  outline: none;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0;
}
body {
  background: #fff;
  color: #3b2417;
  width: 100%;
  max-width: 640px;
  margin: auto;
  position: relative;
  font-family: "Hiragino Sans GB", STFangsong, "Microsoft YaHei", Helvetica, STXihei, Arial, serif;
  font-weight: normal;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.main {
  width: 100%;
  position: relative;
}
*,
*:after,
*:before {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
}
@media (min-width: 320px) {
  html {
    font-size: 90px;
  }
}
@media (min-width: 360px) {
  html {
    font-size: 100px;
  }
}
@media (min-width: 400px) {
  html {
    font-size: 110px;
  }
}
.clear_fix:after {
  content: '';
  clear: both;
  display: block;
  height: 0;
  line-height: 0;
  visibility: hidden;
}
.img_wrap {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}
.img_wrap img {
  max-height: 100%;
}
.show {
  display: inherit !important;
}
.hide {
  display: none !important;
}
.f_left {
  float: left !important;
}
.f_right {
  float: right !important;
}
.text_left {
  text-align: left !important;
}
.text_right {
  text-align: right !important;
}
.text_center {
  text-align: center !important;
}
.no_wrap {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.auto_wrap {
  word-wrap: break-word;
  word-break: break-all;
}
.clear_both {
  clear: both;
}
.flex {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
}
.flex_center {
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
}
.flex_item {
  display: block;
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  flex: 1;
}
.content_box {
  box-sizing: content-box;
  -webkit-box-sizing: content-box;
}
.auto_height {
  position: relative;
  width: 100%;
  padding-top: 100%;
}
.auto_pos {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.global_toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate3D(-50%, -50%, 0);
  -webkit-transform: translate3D(-50%, -50%, 0);
  background: rgba(0, 0, 0, 0.7);
  padding: .02rem .06rem;
  -webkit-border-radius: 0.04rem;
  -moz-border-radius: 0.04rem;
  border-radius: 0.04rem;
  text-align: center;
  z-index: 101;
  opacity: 0;
  color: #fcf8e1;
  font-size: .12rem;
  transition: opacity 0.7s ease;
  -webkit-transition: opacity 0.7s ease;
}
.global_toast.active {
  opacity: 1;
}
